<?php
/**
 * User: xuhong
 * Date: 2018/10/30
 */

namespace extend\mini;

class QRCode
{
    public function getUnlimited($accessToken, $body)
    {
        $url = 'https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=' . $accessToken;
        $body = json_encode($body);
        $header = [
            'content-type' => 'application/json',
        ];
        return postRequest($url, $body, $header);
    }
}